The Threads Viewer

The Threads Viewer shows the existing threadgroups, threads, stackframes and local variables.
To open the Threads Viewer:

- In the Debugger Command Line Shell, type

vt or viewthreads
- In the Variable Viewer, choose Tools > Threadsview

The Threads Viewer consists of four lists:
Threadgroups: All existing threadgroups.
Threads: The threads in the highlighted threadgroup(s).
Stackframes: The stackframes from the highlighted thread.
Local/Argument-variables: Local variables in the highlighted stackframe. If no stackframe is selected, the variables in the highlighted thread (i.e. from the top-most stackframe) are listed.

- The button above each list forces an update of the corresponding list.
- By default, SNiFF+ reuses tools to prevent screen cluttering. To open a further Threads Viewer, you can freeze the already open tool by enabling Frozen.
- If the selection in a list changes, the lists to the right are updated.
- A double-click on an item in the Threads or the Stackframes list opens the Source Editor at the corresponding position in the source code (if available).
- A double-click on an item in the Local/Argument-variables list opens the Source Editor at the corresponding position in the source code (if available).

The Threads Viewer menu
Tools
> Duplicate Tool: Sets this Threads Viewer to frozen and opens a new Threads Viewer
> Close Tool: Closes this tool
> Variableview: Opens a Variable Viewer to show the selected variable
> About SNiFF+ Jdb...: Opens an About dialog
View
> Update: Updates all lists
> Auto-Update off: Turns off the automatic update of the lists
> Auto-Update (slow): Turns on the slow automatic update of the lists
> Auto-Update (fast): Turns on the fast automatic update of the lists
> Show variable: Opens a Variable Viewer with the selected variable
> Show source: Shows the source of the selected stackframe or thread
Threads
> Stop threadgroup(s): Stops the selected threadgroup(s)
> Suspend thread: Suspends the selected thread
> Resume thread: Resumes the selected thread
> Stop thread: Stops the selected thread